package com.xmotor.test_AmqpTemplate.config;

import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;

/**
 * @Description 测试AmqpTemplate配置类
 * @Author Dang Xianyue
 * @Date 2020-08-17 14:28
 * @Version 1.0
 */
//@Configuration
public class TestAmqpTemplateConfig {
    @Bean
    public Queue queue() {
        return new Queue("wsj.queue");
    }

}
